package cn.wolfcode.service.Impl;

import cn.wolfcode.mapper.ProductMapper;
import cn.wolfcode.pojo.Product;
import cn.wolfcode.service.ProductService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;
import java.util.Map;

@Service
@Slf4j
public class ProductServiceImpl implements ProductService {

    @Autowired
    ProductMapper productMapper;

    @Override
    public List<Product> getProductList() {
        return productMapper.getProductList();
    }
}
